/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.bahrie.interfaces;



import java.util.List;
import org.springframework.dao.DataAccessException;
import com.bahrie.entity.Distributor;

/**
 *
 * @author bahrie
 */
public interface InterDistributor {

    void insert(Distributor o) throws DataAccessException;

    void update(Distributor o) throws DataAccessException;

    void delete(int o) throws DataAccessException;

    List<Distributor> getAll() throws DataAccessException;

    Distributor getByNama(String o) throws DataAccessException;

}
